|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.engine.runtime.Component
org.eclipse.vtp.framework.engine.runtime.Configurable
org.eclipse.vtp.framework.engine.runtime.Executable
public abstract class Executable
Executable.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.vtp.framework.engine.runtime.Component |
|---|
blueprint, constructors, mutators |
| Constructor Summary | |
|---|---|
Executable(Blueprint blueprint,
java.lang.Class type,
org.w3c.dom.Element[] elements,
java.lang.String instanceID)
Creates a new Executable. |
|
| Method Summary | |
|---|---|
protected java.lang.Object |
createInstance(Sequence sequence)
Creates a new instance of the executable component. |
protected IContext |
createServiceRegistry(Scope scope)
Creates a service registry for the specified scope. |
abstract Executable |
execute(Sequence sequence)
Creates and executes an instance of this executable. |
abstract Action |
getActionInstance()
Returns the ID of the action instance that owns this executable. |
abstract int |
getActionState()
Returns the action state this executable runs in. |
java.lang.String |
getInstanceID()
Returns the ID of this instance of the executable. |
abstract boolean |
isBlocking()
Returns true if this execution is blocking. |
| Methods inherited from class org.eclipse.vtp.framework.engine.runtime.Configurable |
|---|
createBuilder, lookupAllConfigurations, lookupConfiguration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Executable(Blueprint blueprint,
java.lang.Class type,
org.w3c.dom.Element[] elements,
java.lang.String instanceID)
throws java.lang.NullPointerException
blueprint - The blueprint of the process.type - The type of the executable component.elements - The configuration data or null for no
configuration data.instanceID - The ID of this instance of the executable.
java.lang.NullPointerException - If the supplied blueprint is null.
java.lang.NullPointerException - If the supplied type is null.
java.lang.NullPointerException - If the supplied instance ID is
null.| Method Detail |
|---|
public java.lang.String getInstanceID()
public abstract Action getActionInstance()
public abstract int getActionState()
public abstract boolean isBlocking()
public abstract Executable execute(Sequence sequence)
sequence - The sequence to create under.
null if the
process is over.protected IContext createServiceRegistry(Scope scope)
Configurable
createServiceRegistry in class Configurablescope - The scope to create the registry for.
protected java.lang.Object createInstance(Sequence sequence)
throws java.lang.NullPointerException
sequence - The sequence that owns the component.
java.lang.NullPointerException - If the supplied sequence is null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||